package cc.rengu.redp.bizimpl.upmp.service;

import cc.rengu.redp.bizimpl.upmp.bean.McGrpInfo;
import cc.rengu.redp.bizimpl.upmp.domain.BTxnLimitCfg;
import cc.rengu.redp.bizimpl.upmp.domain.IndustryInfo;
import cc.rengu.redp.bizimpl.upmp.vo.MerMCCInfo;
import cc.rengu.redp.common.exception.RedpException;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
import java.util.ArrayList;
import java.util.List;

@Service
public interface BankLevelQuotaManagetService extends IService<T> {
    public List<BTxnLimitCfg> getBankLevelQuotaList(HttpServletRequest request) throws RedpException;
    public void addBankMCCquota(BTxnLimitCfg txnCfginfo, HttpServletRequest request) throws RedpException;
    public void stopBankMCCquota(HttpServletRequest request, BTxnLimitCfg req) throws RedpException;
    public void startBankMCCquota(HttpServletRequest request, BTxnLimitCfg req) throws RedpException;
    public void deleteBankMCCquota(HttpServletRequest request, BTxnLimitCfg req) throws RedpException;
    public void editBankMCCquota(BTxnLimitCfg txnCfginfo, HttpServletRequest request) throws RedpException;
    public List<IndustryInfo> getMCCList();
    public List<MerMCCInfo> getMCCList(String grpNo);
    public List<McGrpInfo> getMcGrpList();
    public void batchUploadBankQuotal(ArrayList<BTxnLimitCfg> bankLevelQuotaList, String instId) throws RedpException;
}
